package com.woniu.mapper;

import com.woniu.entity.Reservation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.ReservationVO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
* @author Apricity
* @description 针对表【reservation(预约表)】的数据库操作Mapper
* @createDate 2025-02-13 20:16:59
* @Entity com.woniu.entity.Reservation
*/
@Mapper
public interface ReservationMapper extends BaseMapper<Reservation> {
    List<ReservationVO> queryReservationList(Page<ReservationVO> page);
    
    List<ReservationVO> queryReservationListByKeyword(String keyword, Page<ReservationVO> page);

    int updateReservation(Reservation reservation);
}




